package com.qf.service;


import com.qf.entity.Employee;
import com.qf.param.EmployeeAddOrUpdateParam;
import com.qf.utils.PageParam;
import com.qf.utils.PageVO;
import com.qf.vo.EmployeeListVO;

import javax.servlet.http.HttpServletResponse;

/**
 * @author zdl
 * @date 2025/3/14
 */

public interface EmployeeService {
    PageVO<Employee> getEmployeeList(PageParam pageParam);

    int addEmployee(EmployeeAddOrUpdateParam employeeAddParam);

    void downloadExcel(HttpServletResponse response);

    int delEmployeeById(int id);

    int updateSaveEmployee(EmployeeAddOrUpdateParam employeeUpdateParam);

    Employee getEmployeeById(int id);

    int updateState(EmployeeAddOrUpdateParam employeeUpdateParam);

    PageVO<Employee> getEmployeeStateList(PageParam pageParam);

    int updateStateAgree(Employee employee);

    int updateStateNoAgree(Employee employee);
}
